alias apt_update='doas apt-get update && doas apt-get upgrade'
alias syncthing='syncthing -no-browser'
alias newsboat='newsboat -r -u ~/.newsboat/urls -c ~/.newsboat/cache.db -C ~/.newsboat/config'
alias getBatt='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
alias getBattBrief='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "state|time\ to\ |percentage"'
alias getBattPercent="upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep 'percentage' | awk '{print $2}'":
alias getAudioMaster="amixer sget Master | grep 'Right:' | awk -F'[][]' '{print $2}'"
alias dim="echo $(tput cols)x$(tput lines)"
alias systemstats='echo "== Disks ==" && df -h && echo "== Memory ==" && free -h && echo "== CPU ==" && cat /proc/cpuinfo | grep "cpu MHz" && echo "== TEMP ==" && sensors | grep "°C"'
alias ll='ls --color=auto -lahF'
alias mpvyt="mpv --ytdl-format='bestvideo[ext=mp4][height<=?720]+bestaudio[ext=m4a]'"